/* Variables globales (sincronizadas con Style.css) */
:root {
    --primary-color: #2E3192;     /* Azul principal */
    --secondary-color: #1BFFFF;   /* Cyan */
    --accent-color: #D4145A;      /* Rosa */
    --background: #0A0A0A;        /* Negro fondo */
    --text-color: #ffffff;        /* Texto blanco */
    --card-bg: rgba(255, 255, 255, 0.05);  /* Fondo tarjeta */
    --glass-effect: rgba(255, 255, 255, 0.1); /* Efecto vidrio */
}
/* Estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
  }
body {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text-color);
    text-align: center;
    overflow-x: hidden;
}
/* Header adaptado */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
  }
  .logo {
    height: 50px;
    filter: drop-shadow(0 0 10px var(--secondary-color));
  }
  nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
  }
  
  nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
  }
  
  nav a:hover::before {
    width: 100%;
  }

  .dropdown {
    display: none;
    position: absolute;
    top: 70%;
    left: 74%;
    transform: translateX(-50%);
    background-color: var(--background);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border: 1px solid var(--glass-effect);
    border-radius: 0 0 5px 5px;
    z-index: 1001;
    margin-top: 10px;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(36, 54, 66, 0.95);
}

nav ul li:hover .dropdown {
    display: block;
}

.dropdown li {
    margin: 0;
    width: 100%;
}

.dropdown li a {
    color: white;
    padding: 12px 16px;
    display: block;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.dropdown li a:hover {
    
    color: white;
}

/* Nuevo contenedor para el contenido del antiguo header */
.header-content-grammar {
    background: linear-gradient(45deg, #06061e, #0137c1);
    background-size: 600% 600%;
    padding: 40px 20px;
    box-shadow: 0px 0px 15px rgba(0, 183, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 3px solid var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    animation: gradientAnimation 10s ease infinite;
    margin-top: 12.5vh; /* Aumentamos el espacio para el nuevo header fijo */
}

@keyframes gradientAnimation {
    0% {
        background-position: rgb(4, 181, 181);
    }
    50% {
        background-position: rgb(0, 21, 255);
    }
    100% {
        background-position: rgb(16, 11, 39);
    }
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header-content h1 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.header-content p {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
    color: white;
    line-height: 1.6;
}

.header-content-grammar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 183, 255, 0.3), transparent);
    pointer-events: none;
}

.niveles {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
    margin: 5vh auto;
    max-width: 80%;
    padding: 20px;
    position: relative;
    min-height: 250px;
}

/* Centrado absoluto */
.nivel {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0px 0px 15px rgba(0, 183, 255, 0.8);
    width: 100%;
    max-width: 320px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s;
    cursor: pointer;
    border-bottom: 3px solid cyan;
    text-align: center;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nivel:hover {
    box-shadow: 0px 0px 20px rgba(0, 255, 255, 1);
    transform: scale(1.05);
}

.nivel h2 {
    font-size: 1.5em;
    margin: 0;
    color: cyan;
    transition: transform 0.3s ease-in-out;
}

.nivel .descripcion {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 183, 255, 0.9), rgba(0, 0, 0, 0.2));
    color: white;
    padding: 15px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    font-family: 'Exo 2', sans-serif;
    box-sizing: border-box;
    margin: 0;
}

/* Ajuste para el texto dentro de la descripción */
.nivel .descripcion {
    width: 100%;
    padding: 15px 10px;
    margin: 0;
    box-sizing: border-box;
}

/* Animaciones con GSAP */
.nivel:hover .descripcion {
    transform: translateY(0);
}

.nivel:hover h2 {
    transform: translateY(-35px);
}


/* Estilos para la sección de detalles de nivel */
.nivel-detalles {
    display: none;
    width: 100%;
    background: transparent;
    padding: 20px 0;
    box-sizing: border-box;
    z-index: 10;
    max-height: none;
    overflow: visible;
    margin: -10vh auto;
    position: relative;
}

.detalles-header {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
}

.detalles-header h2 {
    color: cyan;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    font-size: 1.8em;
}

.detalles-header p {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1em;
    line-height: 1.5;
    max-width: 80%;
    margin: 0 auto;
    color: #ffffff;
}

.detalles-temas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px auto;
    max-width: 90%;
}

.tema-item {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 183, 255, 0.5);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 183, 255, 0.3);
    opacity: 1 !important; /* Forzar visibilidad */
    transform: none !important; /* Evitar transformaciones no deseadas */
}

.tema-item:hover {
    transform: translateY(-5px) !important; /* Permitir solo esta transformación */
    box-shadow: 0px 5px 15px rgba(0, 183, 255, 0.5);
}

.tema-item h3 {
    color: cyan;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.tema-item p {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9em;
    margin: 0;
    color: #e0e0e0;
}

.btn-volver {
    background: rgba(0, 0, 0, 0.7);
    color: rgb(115, 0, 255);
    border: 1px solid rgb(116, 3, 255);
    border-radius: 5px;
    padding: 8px 15px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px auto 0 0;
}

.btn-volver:hover {
    background: rgba(132, 0, 255, 0.2);
    box-shadow: 0px 0px 10px rgba(140, 0, 255, 0.8);
}

/* Responsive */
@media (min-width: 768px) {
    .niveles {
        flex-wrap: nowrap;
        justify-content: space-around;
    }

    .nivel {
        width: 30%;
    }
}

@media (min-width: 1024px) {
    .niveles {
        max-width: 80%;
    }

    .nivel {
        padding: 30px;
        max-width: 350px;
    }

    .nivel h2 {
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    .niveles {
        flex-direction: column;
        align-items: center;
    }

    .nivel {
        width: 90%;
    }

    .nivel h2 {
        font-size: 1.2em;
    }

    .nivel-detalles {
        margin: 0 auto;
    }
    
    .detalles-temas {
        grid-template-columns: 1fr;
    }
    
    .btn-volver {
        margin: 20px auto;
    }
    
    /* Ajustar animaciones para móvil */
    .tema-item:hover {
        transform: translateY(-3px) !important;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .detalles-temas {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .detalles-temas {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Estilos para el detalle del tema */
.tema-detalle-container {
    display: none;
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 20px 5vh 40px 10vh;
    margin: auto;
    color: white;
    font-family: 'Exo 2', sans-serif;
}

.tema-detalle-content {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 183, 255, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.tema-detalle-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 183, 255, 0.5);
}

.tema-detalle-header h2 {
    color: cyan;
    font-family: 'Orbitron', sans-serif;
    font-size: 2em;
    margin: 0 0 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.tema-detalle-header .subtitulo {
    color: #e0e0e0;
    font-size: 1.1em;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
}

.tema-detalle-body {
    margin-bottom: 40px;
}

.tema-detalle-body h3 {
    color: #00b7ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    margin: 30px 0 15px;
    text-shadow: 0 0 5px rgba(0, 183, 255, 0.5);
    display: flex;
    align-items: center;
}

.tema-detalle-body h3::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 183, 255, 0.8));
    margin-right: 10px;
}

.tema-detalle-body h3::after {
    content: '';
    display: inline-block;
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 183, 255, 0.8), transparent);
    margin-left: 10px;
}

.tema-detalle-body p {
    margin: 0 0 15px;
    line-height: 1.6;
    color: #f0f0f0;
}

.tema-detalle-body ul {
    padding-left: 20px;
    margin: 15px 0;
}

.tema-detalle-body li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.tema-detalle-body strong {
    color: #00ffff;
    font-weight: bold;
}

.tema-detalle-body em {
    color: #f0f0f0;
    font-style: italic;
}

/* Estilos para la tabla de estructura */
.estructura-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9em;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 183, 255, 0.3);
}

.estructura-table thead {
    background: rgba(0, 183, 255, 0.2);
}

.estructura-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    color: cyan;
    border-bottom: 1px solid rgba(0, 183, 255, 0.5);
}

.estructura-table td {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.estructura-table tr:last-child td {
    border-bottom: none;
}

.estructura-table tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.3);
}

.estructura-table tr:hover {
    background: rgba(0, 183, 255, 0.1);
}

/* Estilos para ejemplos */
.ejemplos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.ejemplo {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(0, 183, 255, 0.3);
    transition: all 0.3s ease;
}

.ejemplo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 183, 255, 0.3);
}

.ejemplo .ingles {
    color: cyan;
    margin-bottom: 8px;
    font-weight: bold;
}

.ejemplo .espanol {
    color: #aaaaaa;
    font-style: italic;
}

.tema-detalle-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 183, 255, 0.3);
}

.btn-practica {
    background: rgba(0, 183, 255, 0.2);
    color: cyan;
    border: 1px solid cyan;
    border-radius: 5px;
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-practica:hover {
    background: rgba(0, 183, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    transform: translateY(-3px);
}

.tema-volver {
    position: fixed;
    top: 0;
    left: 5vh;
    width: 100px;
    height: 50px;
    margin: 0;
}

/* Responsive para la vista detallada */
@media (max-width: 768px) {
    .ejemplos-container {
        grid-template-columns: 1fr;
    }
    
    .estructura-table {
        display: block;
        overflow-x: auto;
    }
    
    .tema-detalle-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-practica, .tema-volver {
        width: 100%;
        justify-content: center;
    }
}

/* Nuevos estilos para la estructura mejorada de teoría */
.teoria-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.definicion-seccion, 
.usos-seccion, 
.formacion-seccion, 
.preposiciones-seccion, 
.tipos-seccion, 
.position-seccion,
.diferencia-seccion,
.verbos-regulares,
.verbos-irregulares,
.adjetivos-cortos,
.adjetivos-largos,
.adjetivos-irregulares {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 3px solid rgba(0, 183, 255, 0.8);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.teoria-content h4 {
    color: cyan;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 183, 255, 0.3);
}

.teoria-content h5 {
    color: #00aaff;
    font-size: 1.1em;
    margin: 15px 0 10px;
}

.usos-lista {
    list-style-type: none;
    padding-left: 5px;
}

.usos-lista li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.usos-lista li i.fas {
    position: absolute;
    left: 0;
    top: 5px;
    color: cyan;
    font-size: 0.5em;
}

.usos-lista strong {
    color: #00d0ff;
}

.tabla-formacion {
    overflow-x: auto;
    margin: 15px 0;
}

.tabla-formacion table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.tabla-formacion th {
    background: rgba(0, 183, 255, 0.2);
    color: cyan;
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid rgba(0, 183, 255, 0.5);
}

.tabla-formacion td {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tabla-formacion tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.3);
}

.tabla-formacion tr:hover {
    background: rgba(0, 183, 255, 0.1);
}

/* Estilos para la estructura de oraciones */
.estructura-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.afirmativa, .negativa, .interrogativa, 
.estructura-basica, .estructura-preguntas, 
.comparativos, .superlativos,
.verbos-normales, .verbo-to-be, .verbos-auxiliares {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid rgba(0, 183, 255, 0.6);
}

.estructura-container h4 {
    color: #00ffff;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.estructura-container p {
    margin-bottom: 10px;
}

.estructura-container strong {
    color: #00d0ff;
}

.estructura-container em {
    color: #cccccc;
    font-style: italic;
}

/* Estilos para la escala de adverbios de frecuencia */
.adverbios-escala {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
}

.adverbio-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    position: relative;
}

.adverbio {
    width: 120px;
    text-align: right;
    font-weight: bold;
    color: #00d0ff;
}

.porcentaje {
    width: 50px;
    color: #aaaaaa;
}

.traduccion {
    color: #aaa;
    font-style: italic;
    font-size: 0.85em;
    margin-left: 10px;
}

.barra-porcentaje {
    flex: 1;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.barra-porcentaje::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: calc(var(--porcentaje));
    background: linear-gradient(90deg, #0088ff, #00ffff);
    border-radius: 6px;
}

/* Estilos para ejemplos visuales de preposiciones */
.preposiciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.preposicion-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(0, 183, 255, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.preposicion-item:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 183, 255, 0.2);
}

.preposicion-item h5 {
    color: #00ffff;
    font-size: 1.2em;
    margin-bottom: 8px;
}

.ejemplo-visual {
    font-size: 2em;
    margin: 15px 0;
    position: relative;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilos para la comparación going to vs will */
.comparacion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.going-to, .will {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(0, 183, 255, 0.2);
}

.going-to h5, .will h5 {
    color: #00ffff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Media queries adicionales para los nuevos elementos */
@media (max-width: 768px) {
    .comparacion {
        grid-template-columns: 1fr;
    }
    
    .preposiciones-grid {
        grid-template-columns: 1fr;
    }
    
    .estructura-container {
        padding: 0;
    }
}

.seccion-teoria, .seccion-importancia, .seccion-estructura, .seccion-ejemplos {
    margin-bottom: 30px;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    border-left: 3px solid rgba(0, 183, 255, 0.8);
}

/* Estilos adicionales para temas B1 */
.participios-seccion, 
.expresiones-seccion,
.casos-especiales,
.significados-seccion,
.consejos-seccion,
.activa-pasiva-seccion,
.modales-pasivo,
.modales-principales,
.diferencia-seccion,
.negativas-preguntas-seccion,
.variaciones-seccion,
.estructuras-combinadas {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 3px solid rgba(0, 183, 255, 0.8);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.categoria {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.categoria h5 {
    color: #00ffff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(0, 183, 255, 0.3);
    padding-bottom: 5px;
}

.caso {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.caso h5 {
    color: #00ffff;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.modal-group {
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
}

.modal-group h5 {
    color: #00ffff;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(0, 183, 255, 0.3);
    padding-bottom: 5px;
}

.presente-continuo, .pasado-simple, .condicional-1, .condicional-2,
.presente-perfecto, .voz-activa, .voz-pasiva, .presente-simple,
.pasado-continuo, .going-to, .will, .present-continuous, .present-simple {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.presente-continuo h5, .pasado-simple h5, .condicional-1 h5, .condicional-2 h5,
.presente-perfecto h5, .voz-activa h5, .voz-pasiva h5, .presente-simple h5,
.pasado-continuo h5, .going-to h5, .will h5, .present-continuous h5, .present-simple h5 {
    color: #00ffff;
    margin-bottom: 8px;
    font-size: 1.05em;
    text-align: center;
}

.gerundio-seccion ul, .consejos-seccion ul {
    list-style-type: disc;
    padding-left: 20px;
}

.gerundio-seccion li, .consejos-seccion li {
    margin-bottom: 8px;
}

/* Ajustes responsivos para los nuevos elementos */
@media (max-width: 768px) {
    .categoria, .caso, .modal-group {
        padding: 10px;
    }
    
    .tabla-formacion {
        overflow-x: auto;
    }
}

/* Estilos para el taller práctico */
.taller-practico-container {
    display: none; /* Inicialmente oculto */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: #0a0a0a;
    z-index: 1000;
    justify-content: center;
    padding: 30px 0;
}

.taller-practico-content {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0px 0px 25px rgba(0, 183, 255, 0.5);
    border: 2px solid rgba(0, 183, 255, 0.3);
}

.taller-practico-header {
    margin-bottom: 30px;
    text-align: center;
}

.taller-practico-header h2 {
    color: cyan;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.taller-practico-header .subtitulo {
    color: #aaaaaa;
    font-size: 1.1em;
}

.taller-practico-body {
    margin-bottom: 30px;
}

.pregunta-item {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 3px solid rgba(0, 183, 255, 0.8);
}

.pregunta-item h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.opciones-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opcion-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.opcion-item:hover {
    background: rgba(0, 183, 255, 0.1);
    transform: translateX(5px);
}

.opcion-item.seleccionada {
    background: rgba(0, 183, 255, 0.2);
    border: 1px solid rgba(0, 183, 255, 0.5);
}

.opcion-item.correcta {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.5);
}

.opcion-item.incorrecta {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.5);
}

.opcion-item input[type="radio"] {
    margin-right: 10px;
}

.taller-practico-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 183, 255, 0.3);
}

.btn-verificar {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
    border-radius: 5px;
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-verificar:hover {
    background: rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    transform: translateY(-3px);
}
.taller-volver
{
    position: fixed;
    top: 10vh;
    left: 5vh;
    width: 175px;
    height: 50px;
}
.taller-resultados {
    margin-top: 2rem;
    background-color: rgba(30, 30, 50, 0.7);
    border-radius: 15px;
    padding: 1.5rem;
    display: none;
}

.resultados-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.resumen-resultados {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.resumen-resultados h3 {
    color: #0cf;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}

.porcentaje-circular {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
}

.circulo-externo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.circulo-interno {
    width: 160px;
    height: 160px;
    background: rgba(20, 20, 40, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.porcentaje-valor {
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
}

.circulo-progreso {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.circulo-base {
    opacity: 0.3;
}

.circulo-valor {
    transition: stroke-dashoffset 1.5s ease;
}

.resumen-texto {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 1rem;
}

#respuestas-correctas, 
#total-preguntas {
    font-weight: bold;
    color: #0cf;
}

.detalle-respuestas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resultado-item {
    background-color: rgba(40, 40, 70, 0.7);
    padding: 1.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.resultado-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.resultado-item.correcto {
    border-left: 5px solid #2ecc71;
}

.resultado-item.incorrecto {
    border-left: 5px solid #e74c3c;
}

.resultado-item.no-respondida {
    border-left: 5px solid #f39c12;
    background-color: rgba(40, 40, 70, 0.5);
}

.resultado-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.resultado-numero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: #0cf;
    font-weight: bold;
    flex-shrink: 0;
}

.resultado-info {
    flex-grow: 1;
}

.resultado-pregunta {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.1rem;
}

.resultado-respuesta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.resultado-respuesta i.fas {
    font-size: 1rem;
}

.resultado-item.correcto .resultado-respuesta i.fas {
    color: #2ecc71;
}

.resultado-item.incorrecto .resultado-respuesta i.fas {
    color: #e74c3c;
}

.resultado-correcta {
    margin-bottom: 0.5rem;
    color: #2ecc71;
}

.explicacion {
    margin-top: 0.8rem;
    font-style: italic;
    color: #aaa;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.taller-resultados-botones {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-volver-preguntas, .btn-menu-principal {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(45deg, #0062cc, #0cf);
    color: white;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 204, 255, 0.3);
}

.btn-volver-preguntas:hover, .btn-menu-principal:hover {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 204, 255, 0.5);
}

.btn-menu-principal {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    box-shadow: 0 2px 10px rgba(106, 17, 203, 0.3);
}

.btn-menu-principal:hover {
    background: linear-gradient(45deg, #8033e6, #4a92fd);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.5);
}

@media (max-width: 768px) {
    .porcentaje-circular {
        width: 160px;
        height: 160px;
    }
    
    .circulo-interno {
        width: 120px;
        height: 120px;
    }
    
    .porcentaje-valor {
        font-size: 2.2rem;
    }
    
    .taller-practico-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .taller-practico-footer {
        flex-direction: column;
        gap: 0.7rem;
    }
    
    .btn-verificar, .taller-volver {
        width: 100%;
    }

    .taller-resultados-botones {
        flex-direction: column;
    }
    
    .btn-volver-preguntas, .btn-menu-principal {
        width: 100%;
    }
}

/* Estilos para el modal de advertencia de preguntas sin responder */
.modal-advertencia {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-contenido {
    background-color: rgba(30, 30, 50, 0.9);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(0, 183, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.3);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.modal-header {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #fff;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: #ffc107;
}

.modal-body {
    padding: 20px;
    color: #eee;
}

.modal-body p {
    margin: 10px 0;
    line-height: 1.5;
}

.modal-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-modal {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

#btn-responder-todas {
    background: linear-gradient(45deg, #0062cc, #0cf);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 204, 255, 0.3);
}

#btn-responder-todas:hover {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 204, 255, 0.5);
}

#btn-continuar-sin {
    background: linear-gradient(45deg, #5f5f5f, #8e8e8e);
    color: white;
    box-shadow: 0 2px 10px rgba(100, 100, 100, 0.3);
}

#btn-continuar-sin:hover {
    background: linear-gradient(45deg, #6f6f6f, #9e9e9e);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 100, 100, 0.5);
}

/* Estilo para resaltar preguntas sin responder */
.pregunta-item.sin-responder {
    background-color: rgba(255, 193, 7, 0.2) !important;
    border: 2px solid #ffc107 !important;
    animation: pulso 1.5s infinite;
}

@keyframes pulso {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

@media (max-width: 768px) {
    .modal-contenido {
        width: 95%;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn-modal {
        width: 100%;
    }
}